package com.wyp168.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.wyp168.common.utils.PageUtils;
import com.wyp168.gulimall.product.entity.AttrGroupEntity;
import com.wyp168.gulimall.product.vo.AttrGroupRelationVO;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author wyp168
 * @email 2721255240@qq.com
 * @date 2022-10-22 12:09:10
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageInfo<AttrGroupEntity> queryPage(Map<String, String> params, Long categoryId);

    /**
     * 删除属性关联关系
     * @param vos
     */
    void deleteRelation(List<AttrGroupRelationVO> vos);
}

